/**
 * Created by Administrator on 2017/7/21.
 */
$.ajax({
    type: 'get',
    url: baseUrl + 'publicInfo/gjxz',
    data: '',
    beforeSend: function(){
        Loading();
    },
    success: function(response){
        closeLoading();
        if(response.responseCode == '1000'){
            if(response.content.length > 0){
                for(var i = 0; i< response.content.length; i++){
                    $('#ulList').append('<li title="' + response.content[i].xzm + '"><i class="fa fa-cloud-download hornIcon"></i><span class="left"><a href="' + response.content[i].url + '" target="_blank">' + response.content[i].xzm + '</a></span><span class="right">' + response.content[i].gxsj + '</span></li>')
                }
            } else {
                $('#ulList').css('display','none');
                Msg('暂无数据');
            }
        } else {
            $('#ulList').css('display','none');
            Msg();
        }
    },
    error: function(){
        closeLoading();
        Msg();
    }
})